
//关于前台页面




const express = require('express')
const router = express.Router()//路由器

const ProDetailControllers=require('../controllers/proDetailController.js');

//单独的路由文件，一般称为路由外置，路由外置文件里面的路由url地址

router.get('/', (req, res) => {
    res.render('front/index');
});


//这是"产品中心"首页的展示
router.get('/index12',ProDetailControllers.getProDetailFrontList);
//暴露出去
module.exports = router;